Operands Targeting Spatial Tracks
Operands targeting spatial tracks return the current value of a particular property of a movie. You can use, for example,
kOperandTrackWidth
and
kOperandTrackHeight
to center a sprite within a track.
-
kOperandTrackLayer
-
No Params
-
The target track's layer is returned.
-
kOperandTrackWidth
-
No Params
-
The target track's width is returned.
-
kOperandTrackHeight
-
No Params
-
The target track's height is returned.
-
kOperandMouseLocalHLoc
-
No Params
-
The horizontal location of the mouse in the local coordinate system of the target track is returned.
-
kOperandMouseLocalVLoc
-
No Params
-
The vertical location of the mouse in the local coordinate system of the target track is returned.
© 1999 Apple Computer, Inc.| Previous | Chapter Contents | Chapter Top | Next |